package org.moparscape.msc.gs.model.definition.skill;

import java.util.HashMap;
import java.util.Map.Entry;
import java.util.Set;

import org.moparscape.msc.gs.model.definition.EntityDefinition;

/**
 * The definition wrapper for spells
 */
public class SpellDef extends EntityDefinition {

	/**
	 * The amount of experience given by this spell
	 */
	public int exp;
	/**
	 * The level required to use the spell
	 */
	public int reqLevel;
	/**
	 * The number of each type of rune (item id) required
	 */
	public HashMap<Integer, Integer> requiredRunes;
	/**
	 * The number of different runes needed for the spell
	 */
	public int runeCount;
	/**
	 * The type of the spell
	 */
	public int type;

	public int getExp() {
		return exp;
	}

	public int getReqLevel() {
		return reqLevel;
	}

	public int getRuneCount() {
		return runeCount;
	}

	public Set<Entry<Integer, Integer>> getRunesRequired() {
		return requiredRunes.entrySet();
	}

	public int getSpellType() {
		return type;
	}
}
